package mp.weixin.WXpublic.receive;

import mp.weixin.WXpublic.BaseReceiveMessage;

public class RVoiceEntity extends BaseReceiveMessage {

    private String mediaId;
    private String format;//语音格式 如amr，speex等
    private String recognition;//开发者开启或者关闭语音识别功能，对新关注者立刻生效，对已关注用户需要24小时生效。
    private long msgId;

    public long getMsgId() {
        return msgId;
    }

    public void setMsgId(long msgId) {
        this.msgId = msgId;
    }

    public String getMediaId() {
        return mediaId;
    }

    public void setMediaId(String mediaId) {
        this.mediaId = mediaId;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public String getRecognition() {
        return recognition;
    }

    public void setRecognition(String recognition) {
        this.recognition = recognition;
    }

    @Override
    public ReceiveTypeEnum getMsgType() {
        // TODO Auto-generated method stub
        return ReceiveTypeEnum.VOICE;
    }

}
